anima.define({
      
/* component descriptor */
webid: "<http://purl.org/dcc/view.base.WidgetBase>",
provides: ["<http://purl.org/dcc/view.IWComponent>"],

/* component creator */
creator: function(A, webid) {
   var prototype = {
      getPresentation: function() {
         var div = document.createElement("div");
         div.innerHTML = this.getPresentationHTML();
         return div;
      }, 
         
      getPresentationHTML : function() {
         return "<div style='width: 100px; height: 50px; background-color: blue'></div>";
     }
   };
   
   anima.component.create(A, webid, null, prototype);
}

});